provider Crons DELETE /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/
@utdk/sentry /api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/
Delete a Monitor or Monitor Environments for a Project
Delete a monitor or monitor environments.
organization_id_or_slug path required
The ID or slug of the organization the resource belongs to.
string
project_id_or_slug path required
The ID or slug of the project the resource belongs to.
string
monitor_id_or_slug path required
The ID or slug of the monitor.
string
environment query
The name of environments to filter by.
array

Try it

Authentication
Configure credentials for API Reference
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

deleteAMonitorOrMonitorEnvironmentsForAProject
DELETE/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/monitors/{monitor_id_or_slug}/
Delete a monitor or monitor environments.

Parameters

required

The ID or slug of the organization the resource belongs to.

required

The ID or slug of the project the resource belongs to.

required

The ID or slug of the monitor.

The name of environments to filter by.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import sentry from '@utdk/sentry';

await sentry.deleteAMonitorOrMonitorEnvironmentsForAProject()